﻿using System;
using System.Collections;
namespace NHEntity
{
    [Serializable()]
    public class RoleEntity : IEquatable<RoleEntity>
    {
        public virtual int IdRole{ get; set;}

        public virtual  string RoleName{ get; set;}

        public virtual IList UserRoleList { get; set; }

        #region Miembros de IEquatable<Role>

        public virtual bool Equals(RoleEntity other)
        {
            return other.IdRole.Equals(IdRole );
        }
        #endregion
    }
}